package com.easyexcel231130.demos.dto;

import com.alibaba.excel.annotation.ExcelProperty;
import com.easyexcel231130.demos.listener.ExcelImportAOP;
import com.easyexcel231130.demos.listener.GoodsExcelImportAOP;
import lombok.Data;

import java.util.List;

@Data
public class ExcelDemoDTO {
    @ExcelProperty("行号")
    @GoodsExcelImportAOP
    private Integer RowNum;
    @ExcelProperty("姓名")
    private String name;
    @ExcelProperty("年龄")
    private Integer age;

    @ExcelImportAOP
    private List<ExcelJpgDTO> jpgList;
    @ExcelProperty("图片地址")
    private String jpgUrl;
    @ExcelProperty("图片名称")
    private String jpgName;

    @ExcelImportAOP
    private List<ExcelFileDTO> fileList;
    @ExcelProperty("附件地址")
    private String fileUrl;
    @ExcelProperty("附件名称")
    private String fileName;
}
